Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add U+005E (^) to the path percent-encode set #846

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

annevk
Copy link
Member

@annevk annevk commented Dec 3, 2024

Closes #607.


(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

@annevk annevk added topic: parser needs tests Moving the issue forward requires someone to write tests labels Dec 3, 2024
annevk added a commit to web-platform-tests/wpt that referenced this pull request Mar 4, 2025
annevk added a commit to annevk/WebKit that referenced this pull request Mar 4, 2025
https://bugs.webkit.org/show_bug.cgi?id=289083

Reviewed by NOBODY (OOPS!).

This matches whatwg/url#846, Chromium for all
URL types, and Gecko for special URLs.

Test changes are upstreamed here:
web-platform-tests/wpt#51093

* LayoutTests/imported/w3c/web-platform-tests/url/a-element-origin-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element-origin-xhtml-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/resources/setters_tests.json:
* LayoutTests/imported/w3c/web-platform-tests/url/resources/urltestdata.json:
* LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any.worker_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-origin.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-origin.any.worker-expected.txt:
* Source/WTF/wtf/URLParser.cpp:
@annevk annevk requested a review from domenic March 4, 2025 16:30
@annevk annevk merged commit 9bc33c3 into main Mar 5, 2025
2 checks passed
@annevk annevk deleted the path-percent-encode-005E branch March 5, 2025 07:52
@annevk annevk removed the needs tests Moving the issue forward requires someone to write tests label Mar 5, 2025
annevk added a commit to web-platform-tests/wpt that referenced this pull request Mar 5, 2025
webkit-commit-queue pushed a commit to annevk/WebKit that referenced this pull request Mar 5, 2025
https://bugs.webkit.org/show_bug.cgi?id=289083

Reviewed by Ryosuke Niwa.

This matches whatwg/url#846, Chromium for all
URL types, and Gecko for special URLs.

Test changes are upstreamed here:
web-platform-tests/wpt#51093

* LayoutTests/imported/w3c/web-platform-tests/url/a-element-origin-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element-origin-xhtml-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element-xhtml_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/a-element_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/resources/setters_tests.json:
* LayoutTests/imported/w3c/web-platform-tests/url/resources/urltestdata.json:
* LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any.worker_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-constructor.any_exclude=(file_javascript_mailto)-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-origin.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/url/url-origin.any.worker-expected.txt:
* Source/WTF/wtf/URLParser.cpp:

Canonical link: https://commits.webkit.org/291614@main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Encode ^ in pathname
2 participants